package lab02.test11;

public class Test11 {
    public static void main(String[] args) {

        //矩形输出

        Rectangle rectangle = new Rectangle();
        rectangle.width = 4;
        rectangle.high = 6;

        rectangle.printMyWay();

        //正方形输出

        Square square = new Square();
        square.width = 6;
        square.high = 6;

        square.printMyWay();
    }
}
